home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / CH5 / EMAGA5 / control / client / interfaces / chatbox.gui next >
Text File  |  2006-09-17  |  4KB  |  81 lines

  1. new GuiControl(MainChatBox) {                    
  2.    profile = "GuiModelessDialogProfile";         
  3.    horizSizing = "width";                        
  4.    vertSizing = "height";                        
  5.    position = "0 0";                             
  6.    extent = "640 480";                           
  7.    minExtent = "8 8";                            
  8.    visible = "1";                                
  9.    modal = "1";                                  
  10.    setFirstResponder = "0";                      
  11.    noCursor = true;                              
  12.                                                  
  13.    new GuiNoMouseCtrl() {                        
  14.       profile = "GuiDefaultProfile";             
  15.       horizSizing = "relative";                  
  16.       vertSizing = "bottom";                     
  17.       position = "0 0";                          
  18.       extent = "400 300";                        
  19.       minExtent = "8 8";                         
  20.       visible = "1";                             
  21.                                                  
  22.       new GuiBitmapCtrl(OuterChatFrame)          
  23.       {                                          
  24.          profile = "GuiDefaultProfile";          
  25.          horizSizing = "width";                  
  26.          vertSizing = "bottom";                  
  27.          position = "8 32";                      
  28.          extent = "256 72";                      
  29.          minExtent = "8 8";                      
  30.          visible = "1";                          
  31.          setFirstResponder = "0";                
  32.          bitmap = "./hudfill.png";               
  33.                                                  
  34.          new GuiButtonCtrl(chatPageDown)         
  35.          {                                       
  36.             profile = "GuiButtonProfile";        
  37.             horizSizing = "right";               
  38.             vertSizing = "bottom";               
  39.             position = "217 54";                 
  40.             extent = "36 14";                    
  41.             minExtent = "8 8";                   
  42.             visible = "0";                       
  43.             text = "Dwn";                        
  44.          };                                      
  45.                                                  
  46.          new GuiScrollCtrl(ChatScrollFrame)      
  47.          {                                       
  48.             profile = "ChatBoxScrollProfile";    
  49.             horizSizing = "width";               
  50.             vertSizing = "bottom";               
  51.             position = "0 0";                    
  52.             extent = "256 72";                   
  53.             minExtent = "8 8";                   
  54.             visible = "1";                       
  55.             setFirstResponder = "0";             
  56.             willFirstRespond = "1";              
  57.             hScrollBar = "alwaysOff";            
  58.             vScrollBar = "alwaysOff";            
  59.             constantThumbHeight = "0";           
  60.                                                  
  61.             new GuiMessageVectorCtrl(ChatBox)    
  62.             {                                    
  63.                profile = "ChatBoxMessageProfile";
  64.                horizSizing = "width";            
  65.                vertSizing = "height";            
  66.                position = "4 4";                 
  67.                extent = "252 64";                
  68.                minExtent = "8 8";                
  69.                visible = "1";                    
  70.                setFirstResponder = "0";          
  71.                lineSpacing = "0";                
  72.                lineContinuedIndex = "10";        
  73.                allowedMatches[0] = "http";       
  74.                allowedMatches[1] = "tgeserver";  
  75.                matchColor = "0 0 255 255";       
  76.                maxColorIndex = 5;                
  77.             };                                   
  78.          };                                      
  79.       };                                         
  80.    };                                            
  81. };